﻿using Cms.Domain;

namespace Cms.Application.WebFramework.Views
{
    public interface IMediaHandlerView
    {
        MediaFile MediaFile { get; }

        int UserId { get; }

        int AdministratorId { get; }

        string PhysicalFilePath { get; }

        void SetContentType(string value);

        void AddHeader(string name, string value);

        void InsertOutputCacheEntry();

        void SetStatusCode(int value);

        void WriteFileToResponse(string virtualPath);
    }
}